home *** CD-ROM | disk | FTP | other *** search
/ Enter 2005 January / EnterCD 0105.iso / Grafika / DigiBookShelf 11.0 / D110TRENG.EXE / HELP / regist.swf / scripts / DefineButton2_49 / BUTTONCONDACTION on(release).as < prev   
Encoding:
Text File  |  2004-09-21  |  494 b   |  21 lines

  1. on(release){
  2.    if(_root.is_connect == 1)
  3.    {
  4.       if(!load_state)
  5.       {
  6.          swf_url = "http://www.kuraemon.com/software/regist/" + productid;
  7.          loadMovie(swf_url,_root.baseMC.targetMC);
  8.          this.nextFrame();
  9.          load_state = true;
  10.       }
  11.    }
  12.    else if(_root.is_connect == 0)
  13.    {
  14.       _root.res_code = -1;
  15.       fscommand("conn_internet");
  16.       _root.checkMC.step = "step00";
  17.       _root.checkMC.check = true;
  18.    }
  19.    nextB.gotoAndStop(1);
  20. }
  21.